﻿using System;
using System.Data.Linq.Mapping;

namespace WorkoutDictionary.Model.Tables
{
    [Table]
    public class Workout
    {
        #region Database Columns

        [Column(CanBeNull = false, DbType = "UNIQUEIDENTIFIER not null",
                IsPrimaryKey = true, AutoSync = AutoSync.Never, IsDbGenerated = false)]
        public Guid ID { get; set; }

        [Column(DbType = "Datetime not null")]
        public DateTime Date { get; set; }

        [Column]
        public Guid WorkoutTypeID { get; set; }

        #endregion Database Columns
    }
}
